package com.jstyle.jclifexd.model;

import java.util.List;

public class UploadData {

    /**
     * dataTotal : [{"time":"2019.06.22 12:20:30","dataDetail":[111,1525,2.859999895095825,86.26000213623047,31,6]},{"time":"2019.06.20 12:20:30","dataDetail":[353,1525,2.859999895095825,86.26000213623047,31,6]},{"time":"2019.06.19 12:20:30","dataDetail":[353,1525,2.859999895095825,86.26000213623047,31,6]}]
     * uid : 109850
     * mac : E4:30:85:04:6B:72
     * dataType : sportTypeData
     */

    private String uid;
    private String mac;
    private String dataType;
    private List<DataTotalBean> dataTotal;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public List<DataTotalBean> getDataTotal() {
        return dataTotal;
    }

    public void setDataTotal(List<DataTotalBean> dataTotal) {
        this.dataTotal = dataTotal;
    }

    @Override
    public String toString() {
        return "UploadData{" +
                "uid='" + uid + '\'' +
                ", mac='" + mac + '\'' +
                ", dataType='" + dataType + '\'' +
                ", dataTotal=" + dataTotal +
                '}';
    }

    public static class DataTotalBean {
        /**
         * time : 2019.06.22 12:20:30
         * dataDetail : [111,1525,2.859999895095825,86.26000213623047,31,6]
         */

        private String time;
        private List<String> dataDetail;

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public List<String> getDataDetail() {
            return dataDetail;
        }

        public void setDataDetail(List<String> dataDetail) {
            this.dataDetail = dataDetail;
        }


        @Override
        public String toString() {
            return "DataTotalBean{" +
                    "time='" + time + '\'' +
                    ", dataDetail=" + dataDetail +
                    '}';
        }
    }
}
